package com.internship.dao;



import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.internship.model.DepartmentInfo;
import com.internship.page.Pagination;

public interface DepartmentInfoDao {
	public List<DepartmentInfo>  getDepartmentInfoList(@Param("XYMC") String XYMC ,Pagination page);
	public List<DepartmentInfo>  getDepartmentInfoList();
	public DepartmentInfo  getDepartmentInfo(@Param("XYMC") String XYMC);
	public DepartmentInfo  getDepartmentInfoByXYDM(@Param("XYDM") String XYDM);
	public int addDepartmentInfo(DepartmentInfo departmentInfo);
	public int updateDepartmentInfo(DepartmentInfo departmentInfo);
	public int delDepartmentInfo(@Param("XYDM") String XYDM);
	public int delAll(String[] ids);

}
